package com.wisecoach.gatewayplus.transaction;

import lombok.AllArgsConstructor;
import lombok.Data;
import org.hyperledger.fabric.client.SubmittedTransaction;
import org.hyperledger.fabric.client.Transaction;

/**
 * {@code @author:} wisecoach
 * {@code @date:} 2023/9/25 下午11:33
 * {@code @version:} 1.0.0
 */

@AllArgsConstructor
@Data
public class SubmitTxContext {
    private Transaction transaction;
    private SubmittedTransaction submittedTransaction;

    public SubmitTxContext(Transaction transaction) {
        this.transaction = transaction;
    }
}

